﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TEngine;

namespace GameLogic
{
    internal class UIGameWindow : UIWindow
    {
        public T GetUserData<T>(int index) 
        {
            if(index < userDatas.Length)
                return (T)userDatas[index];
            return default(T);
        }
    }
}
